docs: Another round of markup removal
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Mar 2014 04:24:15 +0000 (00:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Mar 2014 04:24:15 +0000 (00:24 -0400)
16 files changed:
gdk/gdkpango.c
gtk/deprecated/gtkaction.c
gtk/deprecated/gtkactiongroup.c
gtk/deprecated/gtkiconfactory.c
gtk/deprecated/gtkradioaction.c
gtk/deprecated/gtkrc.c
gtk/deprecated/gtkuimanager.c
gtk/gtkbuildable.h
gtk/gtkbutton.c
gtk/gtkcellarea.h
gtk/gtkcontainer.h
gtk/gtkentrycompletion.h
gtk/gtkmenu.c
gtk/gtkmodules.h
gtk/gtkprintsettings.c
gtk/gtkstylecontext.h

index e3fb0c64777c5c3a9f18e788220ba8aaf3e9b660..66615e817861d7f0f29f45e8c837832e2722d378 100644 (file)
@@ -52,8 +52,6 @@
  *
  * ## Draw transformed text with Pango and cairo ## {#rotated-example}
  *
- * <!-- Note that this example is basically the same as
- *      demos/gtk-demo/rotated_text.c -->
  * |[<!-- language="C" -->
  * #define RADIUS 100
  * #define N_WORDS 10
@@ -67,9 +65,9 @@
  * int width, height;
  * int i;
  *
- * /<!---->* Set up a transformation matrix so that the user space coordinates for
- *  * where we are drawing are [-RADIUS, RADIUS], [-RADIUS, RADIUS]
- *  * We first center, then change the scale *<!---->/
+ * // Set up a transformation matrix so that the user space coordinates for
+ * // where we are drawing are [-RADIUS, RADIUS], [-RADIUS, RADIUS]
+ * // We first center, then change the scale
  *
  * width = gdk_window_get_width (window);
  * height = gdk_window_get_height (window);
@@ -80,7 +78,7 @@
  *                  radius + (height - 2 * radius) / 2);
  *                  cairo_scale (cr, radius / RADIUS, radius / RADIUS);
  *
- * /<!---->* Create a PangoLayout, set the font and text *<!---->/
+ * // Create a PangoLayout, set the font and text
  * context = gdk_pango_context_get_for_screen (screen);
  * layout = pango_layout_new (context);
  * pango_layout_set_text (layout, "Text", -1);
@@ -88,7 +86,7 @@
  * pango_layout_set_font_description (layout, desc);
  * pango_font_description_free (desc);
  *
- * /<!---->* Draw the layout N_WORDS times in a circle *<!---->/
+ * // Draw the layout N_WORDS times in a circle
  * for (i = 0; i < N_WORDS; i++)
  *   {
  *     double red, green, blue;
@@ -96,7 +94,7 @@
  *
  *     cairo_save (cr);
  *
- *     /<!---->* Gradient from red at angle == 60 to blue at angle == 300 *<!---->/
+ *     // Gradient from red at angle == 60 to blue at angle == 300
  *     red = (1 + cos (angle - 60)) / 2;
  *     green = 0;
  *     blue = 1 - red;
  *     cairo_set_source_rgb (cr, red, green, blue);
  *     cairo_rotate (cr, angle);
  *
- *     /<!---->* Inform Pango to re-layout the text with the new transformation matrix *<!---->/
+ *     // Inform Pango to re-layout the text with the new transformation matrix
  *     pango_cairo_update_layout (cr, layout);
  *
  *     pango_layout_get_size (layout, &width, &height);
index 44e7f3c019f17d7ff0edc48f5e6112b28eba5d75..03ed26e02cbbc739c413c87678b8ad386621e523 100644 (file)
@@ -1356,7 +1356,7 @@ gtk_action_get_is_important (GtkAction *action)
  * @action: a #GtkAction
  * @always_show: %TRUE if menuitem proxies should always show their image
  *
- * Sets whether @action<!-- -->’s menu item proxies will ignore the
+ * Sets whether @action's menu item proxies will ignore the
  * #GtkSettings:gtk-menu-images setting and always show their image, if available.
  *
  * Use this if the menu item would be useless or hard to use
@@ -1391,7 +1391,7 @@ gtk_action_set_always_show_image (GtkAction *action,
  * gtk_action_get_always_show_image:
  * @action: a #GtkAction
  *
- * Returns whether @action<!-- -->’s menu item proxies will always
+ * Returns whether @action's menu item proxies will always
  * show their image, if available.
  *
  * Returns: %TRUE if the menu item proxies will always show their image
index 113b3ee1da9dcaca6ea71157c18a9145a2dab6ea..737dbf19517ece3f714c4b7492adb314b36c2655 100644 (file)
@@ -1477,7 +1477,7 @@ gtk_action_group_add_radio_actions_full (GtkActionGroup            *action_group
  *   destroyed and when the translation function is changed again
  *
  * Sets a function to be used for translating the @label and @tooltip of 
- * #GtkActionEntry<!-- -->s added by gtk_action_group_add_actions().
+ * #GtkActionEntrys added by gtk_action_group_add_actions().
  *
  * If you’re using gettext(), it is enough to set the translation domain
  * with gtk_action_group_set_translation_domain().
@@ -1524,7 +1524,7 @@ dgettext_swapped (const gchar *msgid,
  * calls, or %NULL to use the domain set with textdomain()
  * 
  * Sets the translation domain and uses g_dgettext() for translating the 
- * @label and @tooltip of #GtkActionEntry<!-- -->s added by 
+ * @label and @tooltip of #GtkActionEntrys added by 
  * gtk_action_group_add_actions().
  *
  * If you’re not using gettext() for localization, see 
index 0bb8d4d87db1f503770a542197c1a906eb515988..55e5d554b8e25a8213f1f5de24f4af4afa2b7408 100644 (file)
@@ -252,11 +252,11 @@ gtk_icon_factory_finalize (GObject *object)
  * gtk_icon_factory_new:
  *
  * Creates a new #GtkIconFactory. An icon factory manages a collection
- * of #GtkIconSet<!-- -->s; a #GtkIconSet manages a set of variants of a
+ * of #GtkIconSets; a #GtkIconSet manages a set of variants of a
  * particular icon (i.e. a #GtkIconSet contains variants for different
  * sizes and widget states). Icons in an icon factory are named by a
  * stock ID, which is a simple string identifying the icon. Each
- * #GtkStyle has a list of #GtkIconFactory<!-- -->s derived from the current
+ * #GtkStyle has a list of #GtkIconFactorys derived from the current
  * theme; those icon factories are consulted first when searching for
  * an icon. If the theme doesn’t set a particular icon, GTK+ looks for
  * the icon in a list of default icon factories, maintained by
@@ -2149,7 +2149,7 @@ gtk_icon_source_get_icon_name (const GtkIconSource *source)
  * In addition, if a filename source is in use, this
  * function in some cases will return the pixbuf from
  * loaded from the filename. This is, for example, true
- * for the GtkIconSource passed to the #GtkStyle render_icon(<!-- -->)
+ * for the GtkIconSource passed to the #GtkStyle render_icon()
  * virtual function. The reference count on the pixbuf is
  * not incremented.
  *
index b4c724e45a9621208dc8717fcca64a85549be116..7ee120fe3ab35f7d61d81fddd5954842fb60791f 100644 (file)
@@ -164,7 +164,7 @@ gtk_radio_action_class_init (GtkRadioActionClass *klass)
   /**
    * GtkRadioAction::changed:
    * @action: the action on which the signal is emitted
-   * @current: the member of @action<!-- -->s group which has just been activated
+   * @current: the member of @action's group which has just been activated
    *
    * The ::changed signal is emitted on every member of a radio group when the
    * active member is changed. The signal gets emitted after the ::activate signals
index 72395271944ea83be9be2d8de0bd64f1bccd49a7..8d125170117996322a8d818eec5bfc7843b18d31 100644 (file)
  * the range 0-65535 or floats in the range 0.0-1.0.
  *
  * Since 2.10, colors can also be specified by refering to a symbolic color, as
- * follows: `@<!-- -->color-name`, or by using expressions to combine
+ * follows: `@color-name`, or by using expressions to combine
  * colors. The following expressions are currently supported:
  *
  * * mix (factor, color1, color2)
  * |[
  *  mix (0.5, "red", "blue")
  *  shade (1.5, mix (0.3, "#0abbc0", { 0.3, 0.5, 0.9 }))
- *  lighter (@<!-- -->foreground)
+ *  lighter (@foreground)
  * ]|
  *
  * In a `stock` definition, icon sources are specified as a
index b8ecb8ab95c1c2a8877c4816a8740ba1d87a030d..772d65377faaf88c7ab51c30e3ec2f932b289b5f 100644 (file)
@@ -2225,7 +2225,7 @@ remove_ui (GNode   *node,
  * @manager: a #GtkUIManager object
  * @merge_id: a merge id as returned by gtk_ui_manager_add_ui_from_string()
  * 
- * Unmerges the part of @manager<!-- -->s content identified by @merge_id.
+ * Unmerges the part of @manager's content identified by @merge_id.
  *
  * Since: 2.4
  *
index 46ec63f0cca1071aa30a7517e4645691bbde5b35..9652a5edf443d3dab15ca30af79d015d87370298 100644 (file)
@@ -58,15 +58,15 @@ typedef struct _GtkBuildableIface GtkBuildableIface;
  *  is created.
  * @construct_child: Constructs a child of a buildable that has been
  *  specified as “constructor” in the UI definition. #GtkUIManager implements
- *  this to reference to a widget created in a &lt;ui&gt; tag which is outside
+ *  this to reference to a widget created in a <ui> tag which is outside
  *  of the normal GtkBuilder UI definition hierarchy.  A reference to the
  *  constructed object is returned and becomes owned by the caller.
  * @custom_tag_start: Implement this if the buildable needs to parse
- *  content below &lt;child&gt;. To handle an element, the implementation
+ *  content below <child>. To handle an element, the implementation
  *  must fill in the @parser and @user_data and return %TRUE.
  *  #GtkWidget implements this to parse keyboard accelerators specified
- *  in &lt;accelerator&gt; elements. #GtkContainer implements it to map
- *  properties defined via &lt;packing&gt; elements to child properties.
+ *  in <accelerator> elements. #GtkContainer implements it to map
+ *  properties defined via <packing> elements to child properties.
  *  Note that @user_data must be freed in @custom_tag_end or @custom_finished.
  * @custom_tag_end: Called for the end tag of each custom element that is
  *  handled by the buildable (see @custom_tag_start).
index 4c17f90bb0b30e6083b687c09f90a330fc279818..aff698e3a828014381350f4cd02f96e3b32c29df 100644 (file)
@@ -1474,8 +1474,6 @@ gtk_button_leave (GtkButton *button)
  * Sets the relief style of the edges of the given #GtkButton widget.
  * Three styles exist, GTK_RELIEF_NORMAL, GTK_RELIEF_HALF, GTK_RELIEF_NONE.
  * The default style is, as one can guess, GTK_RELIEF_NORMAL.
- *
- * <!-- FIXME: put pictures of each style -->
  */
 void
 gtk_button_set_relief (GtkButton *button,
index ed73d99da074d90b07afaa57c85efd88a5e6d0d3..eaa63732a714ff59e77ea87c0e22185bb076fd77 100644 (file)
@@ -46,13 +46,13 @@ typedef struct _GtkCellAreaContext       GtkCellAreaContext;
 
 /**
  * GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID:
- * @object: the #GObject on which set_cell_property(<!-- -->) or get_cell_property(<!-- -->)
+ * @object: the #GObject on which set_cell_property() or get_cell_property()
  *     was called
  * @property_id: the numeric id of the property
  * @pspec: the #GParamSpec of the property
  *
  * This macro should be used to emit a standard warning about unexpected
- * properties in set_cell_property(<!-- -->) and get_cell_property(<!-- -->) implementations.
+ * properties in set_cell_property() and get_cell_property() implementations.
  */
 #define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \
   G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))
index ebc5b570fa0545d31a7743083bbf2abf810baf3a..6572306903bd6e7ed718a814203b7a512d2fc2cc 100644 (file)
@@ -253,13 +253,13 @@ void gtk_container_child_notify (GtkContainer *container,
 
 /**
  * GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID:
- * @object: the #GObject on which set_child_property(<!-- -->) or get_child_property(<!-- -->)
+ * @object: the #GObject on which set_child_property() or get_child_property()
  *  was called
  * @property_id: the numeric id of the property
  * @pspec: the #GParamSpec of the property
  *
  * This macro should be used to emit a standard warning about unexpected
- * properties in set_child_property(<!-- -->) and get_child_property(<!-- -->) implementations.
+ * properties in set_child_property() and get_child_property() implementations.
  */
 #define GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID(object, property_id, pspec) \
     G_OBJECT_WARN_INVALID_PSPEC ((object), "child property", (property_id), (pspec))
index fd49aecddab13e2b7dbb2b273d4bcb20616b9477..69f74c8629afdbe8003393b948ed726c5435e920 100644 (file)
@@ -54,7 +54,7 @@ typedef struct _GtkEntryCompletionPrivate     GtkEntryCompletionPrivate;
  * Note that @key is normalized and case-folded (see g_utf8_normalize()
  * and g_utf8_casefold()). If this is not appropriate, match functions
  * have access to the unmodified key via
- * `gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry (<!-- -->)))`.
+ * `gtk_entry_get_text (GTK_ENTRY (gtk_entry_completion_get_entry ()))`.
  *
  * Returns: %TRUE if @iter should be displayed as a possible completion
  *     for @key
index acebe7626caff30b8069f1284501ea88bbce33de..63bc72d71378a24169c3c41fde4a306c595c32aa 100644 (file)
@@ -46,7 +46,7 @@
  * ## Connecting the popup signal handler.
  *
  * |[<!-- language="C" -->
- *   /<!---->* connect our handler which will popup the menu *<!---->/
+ *   // connect our handler which will popup the menu
  *   g_signal_connect_swapped (window, "button_press_event",
  *     G_CALLBACK (my_popup_handler), menu);
  * ]|
@@ -64,9 +64,8 @@
  *   g_return_val_if_fail (GTK_IS_MENU (widget), FALSE);
  *   g_return_val_if_fail (event != NULL, FALSE);
  *
- *   /<!---->* The "widget" is the menu that was supplied when 
- *    * g_signal_connect_swapped() was called.
- *    *<!---->/
+ *   // The "widget" is the menu that was supplied when 
+ *   // g_signal_connect_swapped() was called.
  *   menu = GTK_MENU (widget);
  *
  *   if (event->type == GDK_BUTTON_PRESS)
index fbc575c222a0a50990845d12736d3c2ff8422a27..29409b7041a690f6f16d083864cb2d36d47d2234 100644 (file)
@@ -32,9 +32,8 @@ G_BEGIN_DECLS
  * @argc: (allow-none): GTK+ always passes %NULL for this argument
  * @argv: (allow-none) (array length=argc): GTK+ always passes %NULL for this argument
  *
- * Each GTK+ module must have a function gtk_module_init(<!-- -->)
- * with this prototype. This function is called after loading
- * the module.
+ * Each GTK+ module must have a function gtk_module_init() with this prototype.
+ * This function is called after loading the module.
  */
 typedef void     (*GtkModuleInitFunc)        (gint        *argc,
                                               gchar      ***argv);
@@ -43,9 +42,8 @@ typedef void     (*GtkModuleInitFunc)        (gint        *argc,
  * GtkModuleDisplayInitFunc:
  * @display: an open #GdkDisplay
  *
- * A multihead-aware GTK+ module may have a gtk_module_display_init(<!-- -->)
- * function with this prototype. GTK+ calls this function for each
- * opened display.
+ * A multihead-aware GTK+ module may have a gtk_module_display_init() function
+ * with this prototype. GTK+ calls this function for each opened display.
  *
  * Since: 2.2
  */
index 160af5b3fcd81055898bcb2d39b58f4b6caf838d..f2cf860184f47c2033839998ddc730e4e9318873 100644 (file)
  * document. The predefined keys try to use shared values as much as possible
  * so that moving such a document between systems still works.
  *
- * <!-- TODO example of getting, storing and setting settings -->
- *
  * Printing support was added in GTK+ 2.10.
  */
 
-
 typedef struct _GtkPrintSettingsClass GtkPrintSettingsClass;
 
 #define GTK_IS_PRINT_SETTINGS_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_SETTINGS))
@@ -1568,7 +1565,6 @@ gtk_print_settings_set_default_source (GtkPrintSettings *settings,
  * Gets the value of %GTK_PRINT_SETTINGS_MEDIA_TYPE.
  *
  * The set of media types is defined in PWG 5101.1-2002 PWG.
- * <!-- FIXME link here -->
  * 
  * Returns: the media type
  *
@@ -1588,7 +1584,6 @@ gtk_print_settings_get_media_type (GtkPrintSettings *settings)
  * Sets the value of %GTK_PRINT_SETTINGS_MEDIA_TYPE.
  * 
  * The set of media types is defined in PWG 5101.1-2002 PWG.
- * <!-- FIXME link here -->
  *
  * Since: 2.10
  */
index c188604fa598c728e5be375f003b554fd52d358f..1bab4394d6dfcca7494ca6b7b2f28e12022bffcc 100644 (file)
@@ -101,7 +101,7 @@ struct _GtkStyleContextClass
  * padding/border/margin series.
  *
  * gtk_render_frame() uses this property to find out the frame line width,
- * so #GtkWidget<!-- -->s rendering frames may need to add up this padding when
+ * so #GtkWidgets rendering frames may need to add up this padding when
  * requesting size
  */
 #define GTK_STYLE_PROPERTY_BORDER_WIDTH "border-width"
@@ -111,7 +111,7 @@ struct _GtkStyleContextClass
  *
  * A property holding the rendered element’s margin as a #GtkBorder. The
  * margin is defined as the spacing between the border of the element
- * and its surrounding elements. It is external to #GtkWidget<!-- -->s's
+ * and its surrounding elements. It is external to #GtkWidget's
  * size allocations, and the most external spacing property of the
  * padding/border/margin series.
  */